package cn.ecut.dao;

import cn.ecut.model.Fangjian;
import cn.ecut.model.Loudong;
import cn.ecut.model.Taofang;
import cn.ecut.model.Xiangmu;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface FangjianDao {
    int deleteByPrimaryKey(String fangjianbianma);

    int insert(Fangjian fangjian);

    int insertSelective(Fangjian record);

    Fangjian selectByPrimaryKey(String fangjianbianma);

    int updateByPrimaryKeySelective(Fangjian fangjian);

    int updateByPrimaryKey(Fangjian fangjian);

    List<Fangjian> selectAll();

    int selectAllcount();

    Loudong selectLoudong(String loudongbianma);

    Taofang selectTaofang(String taofangbianma);

    String selectThelast();
    int updateQiyong(Fangjian fangjian);
    List<Fangjian> advanceSelect(String s);
}